package se.webbzon.oschi01.utils;

public class Event<S,E extends Enum<?>,A> {
	
	public final S source;
	
	public final E type;
	
	public final A argument;
	
	public Event(S source, E type, A argument) {
		this.source = source;
		this.type = type;
		this.argument = argument;
	}

	public S getSource() {
		return source;
	}

	public E getType() {
		return type;
	}

	public A getArgument() {
		return argument;
	}

}
